<template>
    <mu-dialog :open="true" :title="title" @close="$emit('cancel')">
      {{message}}
      <mu-flat-button slot="actions" @click="$emit('cancel')" primary label="取消"/>
      <mu-flat-button slot="actions" primary @click="$emit('confirm')" label="确定"/>
    </mu-dialog>
</template>

<script>
  export default {
    data () {
      return {
      }
    },
    props:{
      message:{
        type:String,
        default:''
      },
      title:{
        type:String,
        default:''
      }
    },
    methods: {

    }
  }
</script>
